package ua.kharkov.knure.mikhaylov.st4.web.command;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;

import ua.kharkov.knure.mikhaylov.st4.settings.Path;

/**
 * Redirection command - browse card creation page. NOT USED.
 * 
 * @author Saint
 * 
 */
public class BrowseCardCreationCommand extends Command {

	private static final long serialVersionUID = -7057791486137239848L;
	private static final Logger log = Logger
			.getLogger(BrowseCardCreationCommand.class);

	@Override
	@Deprecated
	public String execute(HttpServletRequest request,
			HttpServletResponse response) throws IOException, ServletException {

		log.debug("Redirecting to card creation page");
		return Path.PAGE_NEW_CARD;
	}

}
